package cn.tedu.live8.service.Impl;

import cn.tedu.live8.mapper.ShoppingIndexMapper;
import cn.tedu.live8.pojo.vo.ShoppingIndexVO;
import cn.tedu.live8.service.ShoppingIndexService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ShoppingIndexServiceImpl implements ShoppingIndexService {
    @Autowired
    private ShoppingIndexMapper shoppingIndexMapper;

    @Override
    public List<ShoppingIndexVO> list() {
        log.debug("开始执行查询商品列表的业务");
        return shoppingIndexMapper.list();
    }
}
